import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import axios from 'axios'
import { IP } from "./server/db.js"

// 全局引入
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// 局部引入
// import { Button, Select, Input, } from 'element-ui';
// Vue.use(Button)
// Vue.use(Select)


Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.prototype.$IP = IP
new Vue({
  router,
  store,
  axios,
  render: h => h(App)
}).$mount('#app')